namespace Fabrication.ValueProviders
{
    internal class PhoneNumberProvider : ValueProviderBase<string>
    {
        protected sealed override string GetValue(object item)
        {
            return "(" + RandomNumberGenerator.GetInteger(100, 999) + ") 555-" +
                   RandomNumberGenerator.GetInteger(0, 9999);
        }
    }
}